<template>
	<header class="back-header">
		<div class="back-header-back" @click="back">
			<span class="iconfont icon-left"></span>
		</div>
		<div>
			<slot></slot>
		</div>
	</header>
</template>
<script>
	export default {
		name: "backHeader",
		methods: {
			back() {
				this.$router.goBack();
				this.$router.isBack = false;
			}
		}
	}
</script>
